package cn.tedu.charging.user.dao.repository;

import cn.tedu.charging.common.pojo.param.ChargeParam;
import cn.tedu.charging.common.pojo.po.ChargingUserInfoPO;

public interface UserRepository {
    ChargingUserInfoPO getUserByOpenId(String openId);

    void save(ChargingUserInfoPO user);

    Double getUserBalance(Integer userId);

    void charge(ChargeParam param);

    ChargingUserInfoPO getUserById(Integer userId);
}
